import React, { Component } from 'react'
import './index.less'

export default class NotFound extends Component {
  toLogin = () => {
    this.props.history.push('/login')
  }
  render() {
    return (
      <div className="box">
        <div className="newfinno-con" />
        <div className="tips">
          <h2 className="b-text">矮油~~您访问的页面不在地球上...</h2>
          <p className="m-box">
            <a className="back-index" onClick={this.toLogin}>
              返回首页
            </a>
          </p>
        </div>
      </div>
    )
  }
}
